package tr.edu.metu.is550.isell.rest.message;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "searchCriteria")
public class SearchPropertyMessage {

    @XmlElement
    @NotNull
    private Double latitude;
    @XmlElement
    @NotNull
    private Double logitude;
    @XmlElement
    @NotNull
    private Double radius;

    @XmlElement
    private Double minPrice;
    @XmlElement
    private Double maxPrice;

    @XmlElement
    private Integer minNumOfRooms;
    @XmlElement
    private Integer maxNumOfRooms;

    @XmlElement
    private Integer adType;

    @XmlElement
    private Integer propertyType;

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLogitude() {
        return logitude;
    }

    public void setLogitude(Double logitude) {
        this.logitude = logitude;
    }

    public Double getRadius() {
        return radius;
    }

    public void setRadius(Double radius) {
        this.radius = radius;
    }

    public Double getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(Double minPrice) {
        this.minPrice = minPrice;
    }

    public Double getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(Double maxPrice) {
        this.maxPrice = maxPrice;
    }

    public Integer getMinNumOfRooms() {
        return minNumOfRooms;
    }

    public void setMinNumOfRooms(Integer minNumOfRooms) {
        this.minNumOfRooms = minNumOfRooms;
    }

    public Integer getMaxNumOfRooms() {
        return maxNumOfRooms;
    }

    public void setMaxNumOfRooms(Integer maxNumOfRooms) {
        this.maxNumOfRooms = maxNumOfRooms;
    }

    public Integer getAdType() {
        return adType;
    }

    public void setAdType(Integer adType) {
        this.adType = adType;
    }

    public Integer getPropertyType() {
        return propertyType;
    }

    public void setPropertyType(Integer propertyType) {
        this.propertyType = propertyType;
    }
}
